package TreeSet1;


import java.util.TreeSet;

public class test1 {
    public static void main(String[] args) {

//        extracted();
//        extracted1();
        String a = "aaaa";
        String a2 = "bbbb";
        System.out.println(a2.compareTo(a));

    }

    private static void extracted1() {
        TreeSet<Student> s =   new TreeSet<>();
        s.add(new Student("唐开放",25));
        s.add(new Student("唐开放",23));
        s.add(new Student("唐开放",24));
        s.add(new Student("唐开放",26));
        System.out.println(s);
    }

    private static void extracted() {
        TreeSet<String> t =    new TreeSet<>();
        t.add("a");
        t.add("a");
        t.add("a");
        t.add("d");
        t.add("");
        t.add("d");
        System.out.println(t);
    }
}
